package com.example.core

import android.app.Application
import android.content.Context
import kotlin.properties.Delegates

class BaseApplication : Application() {
    override fun attachBaseContext(base: Context) {
        super.attachBaseContext(base)
        currentApplication = this
    }

    companion object {
        var currentApplication: Context by Delegates.notNull()
    }
}